/*    */ package com.openbravo.pos.forms;
/*    */ 
/*    */ import java.awt.event.ActionEvent;
/*    */ import javax.swing.AbstractAction;
/*    */ import javax.swing.ImageIcon;
/*    */ 
/*    */ public class MenuPanelAction extends AbstractAction
/*    */ {
/*    */   private AppView m_App;
/*    */   private String m_sMyView;
/*    */ 
/*    */   public MenuPanelAction(AppView app, String icon, String keytext, String sMyView)
/*    */   {
/* 38 */     putValue("SmallIcon", new ImageIcon(JPrincipalApp.class.getResource(icon)));
/* 39 */     putValue("Name", AppLocal.getIntString(keytext));
/* 40 */     putValue("taskname", sMyView);
/* 41 */     this.m_App = app;
/* 42 */     this.m_sMyView = sMyView;//com.openbravo.pos.sales.JPanelTicketSales
/*    */   }
/*    */ 
/*    */   public void actionPerformed(ActionEvent evt) {
	//com.openbravo.pos.inventory.ProductsPanel   goods mana
/* 46 */     this.m_App.getAppUserView().showTask(this.m_sMyView);
/*    */   }
/*    */ }

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.forms.MenuPanelAction
 * JD-Core Version:    0.6.0
 */